<script type="text/javascript">
var _basePath = '${base}';
var _location = document.location;
var _rootPath = _location.protocol + '//' + _location.hostname;
	_rootPath+= _location.port == '' ? '' : ':' + _location.port;
	_rootPath+= _basePath;
	window.rootPath = _rootPath;
	window.resVersion = '${v}';
	<% if(has(user)){ %>
		window.user = {
			nick:'${user.nick!}', 
			id:'${user.id!}', 
			username:'${user.username!}', 
			email:'${user.email!}'
		};
	<%}%>
</script> 
<link type="text/css" rel="stylesheet" href="${base}/assets/common/amazeUI/css/amazeui.min.css">
<link type="text/css" rel="stylesheet" href="${base}/assets/common/amazeUI/css/admin.css">
<link type="text/css" rel="stylesheet" href="${base}/assets/biz-logic/css/admin.css">
<script type="text/javascript" src="${base}/assets/common/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="${base}/assets/common/jquery.form.js"></script>
<script type="text/javascript" src="${base}/assets/common/amazeUI/js/amazeui.min.js"></script>
<script type="text/javascript" src="${base}/assets/common/amazeUI/js/app.js"></script>
<script type="text/javascript" src="${base}/assets/common/amazeUI/js/handlebars.min.js"></script>
<script type="text/javascript" src="${base}/assets/common/amazeUI/js/amazeui.widgets.helper.js"></script>
<script type="text/javascript" src="${base}/assets/biz-logic/js/common.js"></script>

<% if(has(cssPath)){ %>
	<link type="text/css" rel="stylesheet" href="${base}/assets/${cssPath}${v}" />
<% } 
   if(has(jsPath)){ %>
	<script type="text/javascript" src="${base}/assets/${jsPath}${v}"></script>
<% } %>
